import util.HttpClientUtil;

import java.util.HashMap;

public class WordsReptile {

    /**
     * 网易有道云 单词爬虫测试
     *
     */
    static void wyCloudTranslate() {
        String BASIC_URL = "https://dict.youdao.com/w/";
        String targetUrl = BASIC_URL + "peach";

        final String response = HttpClientUtil.executeGetRequest(targetUrl, new HashMap<String, String>());
        System.out.println(response);
    }

    /**
     * 腾讯翻译 单词爬虫测试
     *
     * 请求 URL: https://fanyi.qq.com/api/translate
     * 请求方法: POST
     * 状态代码: 200 OK
     * 远程地址: 101.89.42.66:443
     * 引用站点策略: no-referrer-when-downgrade
     *
     *
     */
    static void tencentCloudTranslate() {

    }



    public static void main(String[] args) {



    }
}
